package cn.chenwx.mapper;

import cn.chenwx.entity.Enport1Demo;
import cn.chenwx.entity.EnportDemo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface EnportMapper {
    @Select("select * from test where type=#{type_a}")
    List<EnportDemo> select(@Param("type_a") String type_a);

    @Select("select * from test where type=#{type_a}")
    List<Enport1Demo> select1(@Param("type_a") String type_a);
}
